package com.yourblog.jerry_springboot.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (BasicInfo)表实体类
 *
 * @author WYQ
 * @since 2020-10-29 13:47:28
 */
@SuppressWarnings("serial")
public class BasicInfo extends Model<BasicInfo> {

    private Integer basicId;
    //姓名
    private String name;
    //年龄
    private String age;
    //生日
    private String birthday;
    //性别
    private String sex;
    //关系
    private String relationship;
    //体重（Kg）
    private String weight;
    //身高（cm）
    private String height;
    //收入（k=千元，w=万元）
    private String income;


    public Integer getBasicId() {
        return basicId;
    }

    public void setBasicId(Integer basicId) {
        this.basicId = basicId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getRelationship() {
        return relationship;
    }

    public void setRelationship(String relationship) {
        this.relationship = relationship;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getIncome() {
        return income;
    }

    public void setIncome(String income) {
        this.income = income;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.basicId;
    }
}